package com.StaticBlock;

import java.net.Socket;

public class Test {
    public static void main(String[] args) {
        System.out.println(Student.number);
        System.out.println(Student.number);
        System.out.println(Student.number);
        System.out.println(Student.number);
        System.out.println(Student.number);
        System.out.println(Student.schoolName);
       // Socket  sun公司使用的在静态代码块中赋值
        Student s1=new Student();
        Student s2=new Student("张三");
    }
}
